﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace Database.ERPNext
{
    public partial class tabAsset_Capitalization
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? title { get; set; }
        public string? company { get; set; }
        public string? naming_series { get; set; }
        public string? entry_type { get; set; }
        public string? target_item_name { get; set; }
        public int target_is_fixed_asset { get; set; }
        public int target_has_batch_no { get; set; }
        public int target_has_serial_no { get; set; }
        public string? capitalization_method { get; set; }
        public string? target_item_code { get; set; }
        public string? target_asset_location { get; set; }
        public string? target_asset { get; set; }
        public string? target_asset_name { get; set; }
        public string? target_warehouse { get; set; }
        public decimal target_qty { get; set; }
        public string? target_stock_uom { get; set; }
        public string? target_batch_no { get; set; }
        public string? target_serial_no { get; set; }
        public string? finance_book { get; set; }
        public DateOnly? posting_date { get; set; }
        public TimeOnly? posting_time { get; set; }

        [Column("set_posting_time")]
        public int set_posting_time_on { get; set; }
        public string? amended_from { get; set; }
        public decimal stock_items_total { get; set; }
        public decimal asset_items_total { get; set; }
        public decimal service_items_total { get; set; }
        public decimal total_value { get; set; }
        public decimal target_incoming_rate { get; set; }
        public string? cost_center { get; set; }
        public string? target_fixed_asset_account { get; set; }
        public string? _user_tags { get; set; }
        public string? _comments { get; set; }
        public string? _assign { get; set; }
        public string? _liked_by { get; set; }
        public string? _seen { get; set; }
    }
}
